package com.dc.product.service;

import com.dc.base.BaseResponse;
import com.dc.products.dto.ProductDto;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author: KEYD
 * @Date: 2020/1/3 10:29
 * @Desc: 商品服务搜索接口
 */
public interface IProductSerachService {
    @GetMapping("/search")
    public BaseResponse<List<ProductDto>> search(@RequestParam("name") String name);

}
